package com.xizi.lotterySystem.service;

import com.xizi.lotterySystem.controller.param.DrawPrizeParam;
import com.xizi.lotterySystem.controller.param.ShowWinningRecordsParam;
import com.xizi.lotterySystem.dao.dataobject.WinningRecordDO;
import com.xizi.lotterySystem.service.dto.WinningRecordDTO;

import java.util.List;

public interface IDrawPrizeService {
    void drawPrize(DrawPrizeParam param);

    Boolean checkDrawPrizeParam(DrawPrizeParam param);

    List<WinningRecordDO> saveWinningRecords(DrawPrizeParam param);

    int selectWinningRecordsCount(ShowWinningRecordsParam showWinningRecordsParam);

    void removeRecords(Long activityId, Long prizeId, List<Long> winnerId);

    List<WinningRecordDTO> selectWinningRecords(ShowWinningRecordsParam param);
}
